// utils.js 文件：

let count = 10;
let songName = '痴心绝对';
let position = {
  x: 0,
  y: 0,
};

function add(x, y) {
  return x + y;
}
// 'left' | 'right' | 'up' | 'down'
function changeDirection(direction) {
  console.log(direction);
}

const formatPoint = (point) => {
  console.log('当前坐标：', point);
};

// export { count, songName, position, add, changeDirection, formatPoint };
export { count, songName, position, add, changeDirection };
